distance

abstract override fun distance(s1: String, s2: String): Double(source)

Computes the distance of two strings. The distance will be normalized using the number of operations that are performed.

Return

The normalized distance.

Parameters

s1

The first string.

s2

The second string.

See also